<template>
	<view class="container">
		<web-view :src="url"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				url: ""
			}
		},
		onLoad(options) {
			this.url = options.url
			// this.getHttp();
		},
		methods: {
			getHttp() {
				uni.showLoading({
					title: '加载中...',
					mask: true
				})


				setTimeout(() => {
					uni.hideLoading();
				}, 800)
			},
		},
	}
</script>

<style lang="scss" scoped>
	.container {

	}
</style>
